#!/bin/sh
chmod u+w base.m4
# if the aliases file lives in /etc rather than /usr/lib
ed base.m4 <<'EOF'
/^OA/s/usr.lib/etc/p
w
q
EOF
# if we wanted to change an existing option we could
ed base.m4 <<'EOF'
/^OX12$/s/12/80/p
/^Ox8$/s/8/60/p
w
q
EOF
# if we wanted to undefine an m4 macro we could
cat >> base.m4 <<'EOF'
undefine(`gcos')
EOF
